package com.totem.customer.serivce;

import com.totem.customer.model.TInvite;
import com.totem.customer.model.TMembers;
import com.totem.customer.vo.InviteVO;
import com.totem.customer.vo.MemberVO;
import com.totem.order.model.TOrders;
import com.totem.order.model.TWalletJournal;
import com.totem.product.model.TSubscribe;

import java.util.List;

public interface IMemberCommonService {

    void calDistributiveAward(TOrders tOrder, TWalletJournal journal, TSubscribe tSubscribe);

    void onSubscribePayment(TWalletJournal journal, List<TMembers> inviterMemberList, List<Long> parentIdList);

    void onInvite(Long inviterId);

    void calMemberLevel(Long customerId);

    TInvite execInvite(Long inviterId, Long inviteeId, boolean calMember, String remark);

    String buildPath(Long customerId);
}
